.class Lcom/netease/util/HttpUtils$PrintThread;
.super Ljava/lang/Thread;
.source "HttpUtils.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/util/HttpUtils;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xa
    name = "PrintThread"
.end annotation


# static fields
.field private static final sLock:Ljava/lang/Object;


# instance fields
.field private encoding:Ljava/lang/String;

.field private headers:[Lorg/apache/http/Header;

.field private method:Ljava/lang/String;

.field private params:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lorg/apache/http/NameValuePair;",
            ">;"
        }
    .end annotation
.end field

.field private response:Lorg/apache/http/HttpResponse;

.field private url:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 447
    new-instance v0, Ljava/lang/Object;

    invoke-direct {v0}, Ljava/lang/Object;-><init>()V

    sput-object v0, Lcom/netease/util/HttpUtils$PrintThread;->sLock:Ljava/lang/Object;

    .line 446
    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Ljava/util/List;[Lorg/apache/http/Header;Ljava/lang/String;Ljava/lang/String;Lorg/apache/http/HttpResponse;)V
    .locals 0
    .parameter "url"
    .parameter
    .parameter "headers"
    .parameter "method"
    .parameter "encoding"
    .parameter "response"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/List",
            "<",
            "Lorg/apache/http/NameValuePair;",
            ">;[",
            "Lorg/apache/http/Header;",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            "Lorg/apache/http/HttpResponse;",
            ")V"
        }
    .end annotation

    .prologue
    .line 461
    .local p2, params:Ljava/util/List;,"Ljava/util/List<Lorg/apache/http/NameValuePair;>;"
    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    .line 463
    iput-object p1, p0, Lcom/netease/util/HttpUtils$PrintThread;->url:Ljava/lang/String;

    .line 464
    iput-object p2, p0, Lcom/netease/util/HttpUtils$PrintThread;->params:Ljava/util/List;

    .line 465
    iput-object p3, p0, Lcom/netease/util/HttpUtils$PrintThread;->headers:[Lorg/apache/http/Header;

    .line 466
    iput-object p4, p0, Lcom/netease/util/HttpUtils$PrintThread;->method:Ljava/lang/String;

    .line 467
    iput-object p5, p0, Lcom/netease/util/HttpUtils$PrintThread;->encoding:Ljava/lang/String;

    .line 468
    iput-object p6, p0, Lcom/netease/util/HttpUtils$PrintThread;->response:Lorg/apache/http/HttpResponse;

    .line 469
    return-void
.end method


# virtual methods
.method public run()V
    .locals 7

    .prologue
    .line 473
    sget-object v6, Lcom/netease/util/HttpUtils$PrintThread;->sLock:Ljava/lang/Object;

    monitor-enter v6

    .line 474
    :try_start_0
    iget-object v0, p0, Lcom/netease/util/HttpUtils$PrintThread;->url:Ljava/lang/String;

    iget-object v1, p0, Lcom/netease/util/HttpUtils$PrintThread;->params:Ljava/util/List;

    iget-object v2, p0, Lcom/netease/util/HttpUtils$PrintThread;->headers:[Lorg/apache/http/Header;

    iget-object v3, p0, Lcom/netease/util/HttpUtils$PrintThread;->method:Ljava/lang/String;

    iget-object v4, p0, Lcom/netease/util/HttpUtils$PrintThread;->encoding:Ljava/lang/String;

    iget-object v5, p0, Lcom/netease/util/HttpUtils$PrintThread;->response:Lorg/apache/http/HttpResponse;

    invoke-static/range {v0 .. v5}, Lcom/netease/util/HttpUtils;->access$0(Ljava/lang/String;Ljava/util/List;[Lorg/apache/http/Header;Ljava/lang/String;Ljava/lang/String;Lorg/apache/http/HttpResponse;)V

    .line 473
    monitor-exit v6

    .line 476
    return-void

    .line 473
    :catchall_0
    move-exception v0

    monitor-exit v6
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method
